//package com.supermap.config;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
//public class WebConfigTest extends WebMvcConfigurerAdapter{
//
//	@Autowired
//    private CORSInterceptor corsInterceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(corsInterceptor);
//    }
//
//}
